<fly:block name="indicator">
	<div id="menu_indicator">
			<ul>
				<li class="li_current_root">
					<a href="<fly:variable name='language_folder'/>/index.php" title="Home"><fly:translate name='text_home'/></a><fly:modify name="text_home" />&nbsp;<fly:block name='bar1'>&gt;&nbsp;</fly:block>	
				</li>
				<fly:list name="list_new">
					<li class="li_current_root" >
						<a href="<fly:variable name='language_folder'/>/<fly:variable name='url_news' />" title="<fly:variable name='meta_title' />"> <fly:variable name="nom_news" /></a>&nbsp;
						<fly:block name='bar'>&gt;&nbsp;</fly:block>			
					</li>
				</fly:list>				
				<li class="li_current">
					&gt;&nbsp;<fly:variable name="news_current" />
				</li>
			</ul>
	</div>
</fly:block>
<div id="content_header" class="content_header">
	<div class="main-title">
	<fly:variable name="title_news" />
	</div>
	<span class="dot_titles"></span>
</div>
<div id="search_news">
<form method="post" name="myform" id="myform" >
	<select name="id_news_type" id="id_news_type">
			<option value="0" selected="selected" disabled="disabled"><fly:translate name="text_please_select"/></option>
		<fly:list name="listNewsType">
			<option <fly:variable name="selected" /> value="<fly:variable name='id_news_type' />"><fly:variable name="news_type" /></option>
		</fly:list>
	</select><fly:modify name="text_please_select" />
</form>
</div>
<fly:include name="pagination_search_up" />
<div id="content_body">
	<div id="item_list">
		<fly:block name="nohting_search">
			<div class="nohting_search"><fly:translate name='text_nohting_search'/><fly:modify name="text_nohting_search" /></div>
		</fly:block>
		<fly:list name="list_news">		
		   <div>
	   		   <fly:block name="news_photo">
	   				<div class="news_photo">
		   				<fly:list name="news_photo">
		   					<a href="<fly:variable name='url_news_photo' />" title="<fly:variable name='meta_title_photo' />"><img src="/<fly:variable name="url_photo" />" /></a>
		   				</fly:list>
	   				</div>
	   			</fly:block>
	   				<div class="title_news<fly:variable name='style_photo' />">
	   					<div id="title_date">
				   			<a href="<fly:variable name='url_news' />" title="<fly:variable name='meta_title' />"><fly:variable name="title" /></a>&nbsp;[<fly:variable name="date_creation" />]
				   		</div>
				   		<div id="teaser"><fly:variable name="teaser" /></div>
	   				</div>
		   </div>
		</fly:list>
		</div><div class="clear"></div>
</div>
	<fly:include name="pagination_search_down" />
<script type="text/javascript">
$(document).ready(function(){
	/// Searching
	$('#id_news_type').change(function(){		
		submitForms();
	});
});
	function submitForms(){
 		var link = $("#id_news_type").val();
 		if (link == 0) {
 			var text_alert = $("#text_alert").val();
 			alert(text_alert);
 			return false ; 
 		}
		else {
			window.location.href = "<fly:variable name='language_folder'/>/news-list.php?type="+link ;
			return true;
		}
	
	}  
</script>